export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "设备编号",
      "prop": "assetId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "巡检设备",
      search: true,
      "prop": "name",
      "span": 12
    },	  {
      "type": "input",
      "label": "规格",
      "prop": "spec",
      "span": 12
    },	  {
      "type": "input",
      "label": "单位",
      "prop": "unit",
      "span": 12
    },	  {
      "type": "input",
      "label": "编号",
      "prop": "no",
      "span": 12
    },	  {
      "type": "input",
      "label": "sn",
      "prop": "sn",
      "span": 12
    },	  {
      "type": "input",
      "label": "品牌",
      "prop": "brand",
      "span": 12
    },	  {
      "type": "select",
      "label": "巡检设备",
      formslot: true,
      hide: true,
      showColumn: false,
      "prop": "assetIds",
      "span": 12
    }  ]
}

export const wcnjoption = {
  submitText: '确认',
  submitBtn: true,
  emptyBtn: false,
  row: false,
  "column": [
    {
      "type": "select",
      "label": "巡检项目",
      "prop": "itemIds",
      multiple: true,
      dicUrl: '/act/patrolitem/page?size=-1&status=1',
      props: {
        label: 'name',
        value: 'itemId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: '请选择巡检项目',
      }],
      "span": 24
    },	  {
      formslot: true,
      slot:true,
      "labelWidth": 0,
      "label": "",
      hide: true,
      showColumn: false,
      "prop": "assetIds",
      "span": 24
    }  ]
}

export const itemOption = {
  "addBtn": false,
  "columnBtn": false,
  "refreshBtn": false,
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  delBtn: false,
  editBtn: false,
  // menu: false,
  "align": "center",
  "searchMenuSpan": 6,
  page:false,
  "column": [
  {
    "type": "input",
    "label": "资产名称",
    "prop": "name",
    "span": 12
  },	{
    "type": "input",
    "label": "规格",
    "prop": "spec",
    "span": 12
  },	
  {
    "type": "input",
    "label": "单位",
    "prop": "unit",
    "span": 12
  },	
  {
    "type": "input",
    "label": "编号",
    "prop": "no",
    "span": 12
  },	
  {
    "type": "input",
    "label": "sn",
    "prop": "sn",
    "span": 12
  },	
  {
    "type": "input",
    "label": "品牌",
    "prop": "brand",
    "span": 12
  }
  ]
}
